import request from "@/utils/request";
import { AxiosPromise } from "axios";
import { schedule } from "./types";

export function fetchList(): AxiosPromise<schedule[]> {
  return request({
    url: "/admin/index/schedule",
    method: "get",
  });
}
